﻿
namespace OAuthServerApi
{
    public enum RequestGrantType
    {
        /// <summary>
        /// 客户端模式
        /// </summary>
        client_credentials = 1,
        /// <summary>
        /// 密码模式
        /// </summary>
        password,
        /// <summary>
        /// 简化模式
        /// </summary>
        implicit_auth,
        /// <summary>
        /// 授权模式
        /// </summary>
        authorization_code,
        /// <summary>
        /// 刷新令牌
        /// </summary>
        refresh_token
    }
    /// <summary>
    /// 简化模式和授权码模式类型
    /// </summary>
    public enum ResponseType
    {
        code = 1,
        token
    }

}